package com.niodata.dp.monitor.core.task.entity;

import java.util.HashMap;
import java.util.Map;

public class TaskParams {

  private Map<String, Object> params = new HashMap<>();

  public Map<String, Object> getParams() {
    return params;
  }

  public void setParams(Map<String, Object> params) {
    this.params = params;
  }

  public Object getParam(String name) {
    return this.params.get(name);
  }

  public void setParam(String name, String value) {
    this.params.put(name, value);
  }
}
